#!/usr/bin/env python
# coding: utf-8

# In[16]:


import pandas as pd
from pandas import Series,DataFrame
import numpy as np


# In[13]:


d1={
    'A':[38,48,29,40],
    'B':[23.5,6,58,77],
    'C':[40.2,44,2,3],
    'D':[23,44,25,56]
    
}
d1=DataFrame(dict1)
d1


# In[24]:


d1.sort_values(by='D',ascending=False)


# In[ ]:





# In[ ]:





# In[ ]:





# In[ ]:





# In[ ]:





# In[ ]:





# In[ ]:




